﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Web.Http;
using Part3_IndividuleAssignment2.Models;

namespace Part3_IndividuleAssignment2.Controllers
{
    public class CityController : ApiController
    {
        public List<string> Get(string provinceName)
        {
            return (new NewsSystemRepository()).GetCityNamesByProvinceName(provinceName);
        }
    }
}
